#定义函数，读取data/xxx.json文件
import json


def read_json_data(path):
    with open(path, "r", encoding="utf-8") as f:
        json_data = json.load(f)
        list_data = []
        for item in json_data:
            tem = tuple(item.values())
            list_data.append(tem)

    return list_data


if __name__ == '__main__':
    ret = read_json_data("../data/text_emp2.json")
    print(ret)

